package lanQiao;

import java.io.*;

public class RoundSize
{
	public static void main(String[] args) throws Exception
	{
		int i = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());
		System.out.printf("%.7f",3.1415926*i*i);
	}
}
